
#ifndef example15_1_GameObjEnemy_h
#define example15_1_GameObjEnemy_h
#include "cocos2d.h"
using namespace cocos2d;

class GameFood : public CCNode
{
public:
	CCSprite *boom;
	CCSprite *mainbody;
	GameFood(void);
	virtual ~GameFood(void);
	void releasebullet(float ft);
	virtual void onEnter();
	virtual void onExit();
	void movestart();
	void restart(CCNode* sender);
	void setdie();
	short type;
	bool islife;
	void setType(short var);
};


#endif
